package com.ruoyi.system.domain.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TopEntryConditionsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TopEntryConditionsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTopicIdIsNull() {
            addCriterion("topic_id is null");
            return (Criteria) this;
        }

        public Criteria andTopicIdIsNotNull() {
            addCriterion("topic_id is not null");
            return (Criteria) this;
        }

        public Criteria andTopicIdEqualTo(Long value) {
            addCriterion("topic_id =", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotEqualTo(Long value) {
            addCriterion("topic_id <>", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdGreaterThan(Long value) {
            addCriterion("topic_id >", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdGreaterThanOrEqualTo(Long value) {
            addCriterion("topic_id >=", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdLessThan(Long value) {
            addCriterion("topic_id <", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdLessThanOrEqualTo(Long value) {
            addCriterion("topic_id <=", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdIn(List<Long> values) {
            addCriterion("topic_id in", values, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotIn(List<Long> values) {
            addCriterion("topic_id not in", values, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdBetween(Long value1, Long value2) {
            addCriterion("topic_id between", value1, value2, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotBetween(Long value1, Long value2) {
            addCriterion("topic_id not between", value1, value2, "topicId");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Byte value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Byte value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Byte value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Byte value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Byte value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Byte value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Byte> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Byte> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Byte value1, Byte value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Byte value1, Byte value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(String value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(String value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(String value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(String value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(String value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(String value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLike(String value) {
            addCriterion("age like", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotLike(String value) {
            addCriterion("age not like", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<String> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<String> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(String value1, String value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(String value1, String value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(Byte value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(Byte value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(Byte value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(Byte value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(Byte value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(Byte value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<Byte> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<Byte> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(Byte value1, Byte value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(Byte value1, Byte value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andJobIsNull() {
            addCriterion("job is null");
            return (Criteria) this;
        }

        public Criteria andJobIsNotNull() {
            addCriterion("job is not null");
            return (Criteria) this;
        }

        public Criteria andJobEqualTo(String value) {
            addCriterion("job =", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotEqualTo(String value) {
            addCriterion("job <>", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThan(String value) {
            addCriterion("job >", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThanOrEqualTo(String value) {
            addCriterion("job >=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThan(String value) {
            addCriterion("job <", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThanOrEqualTo(String value) {
            addCriterion("job <=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLike(String value) {
            addCriterion("job like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotLike(String value) {
            addCriterion("job not like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobIn(List<String> values) {
            addCriterion("job in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotIn(List<String> values) {
            addCriterion("job not in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobBetween(String value1, String value2) {
            addCriterion("job between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotBetween(String value1, String value2) {
            addCriterion("job not between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(Byte value) {
            addCriterion("area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(Byte value) {
            addCriterion("area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(Byte value) {
            addCriterion("area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(Byte value) {
            addCriterion("area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(Byte value) {
            addCriterion("area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(Byte value) {
            addCriterion("area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<Byte> values) {
            addCriterion("area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<Byte> values) {
            addCriterion("area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(Byte value1, Byte value2) {
            addCriterion("area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(Byte value1, Byte value2) {
            addCriterion("area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIsNull() {
            addCriterion("treatment_type is null");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIsNotNull() {
            addCriterion("treatment_type is not null");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeEqualTo(String value) {
            addCriterion("treatment_type =", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotEqualTo(String value) {
            addCriterion("treatment_type <>", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeGreaterThan(String value) {
            addCriterion("treatment_type >", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("treatment_type >=", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLessThan(String value) {
            addCriterion("treatment_type <", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLessThanOrEqualTo(String value) {
            addCriterion("treatment_type <=", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLike(String value) {
            addCriterion("treatment_type like", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotLike(String value) {
            addCriterion("treatment_type not like", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIn(List<String> values) {
            addCriterion("treatment_type in", values, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotIn(List<String> values) {
            addCriterion("treatment_type not in", values, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeBetween(String value1, String value2) {
            addCriterion("treatment_type between", value1, value2, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotBetween(String value1, String value2) {
            addCriterion("treatment_type not between", value1, value2, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andZdbmIsNull() {
            addCriterion("zdbm is null");
            return (Criteria) this;
        }

        public Criteria andZdbmIsNotNull() {
            addCriterion("zdbm is not null");
            return (Criteria) this;
        }

        public Criteria andZdbmEqualTo(String value) {
            addCriterion("zdbm =", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmNotEqualTo(String value) {
            addCriterion("zdbm <>", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmGreaterThan(String value) {
            addCriterion("zdbm >", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmGreaterThanOrEqualTo(String value) {
            addCriterion("zdbm >=", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmLessThan(String value) {
            addCriterion("zdbm <", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmLessThanOrEqualTo(String value) {
            addCriterion("zdbm <=", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmLike(String value) {
            addCriterion("zdbm like", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmNotLike(String value) {
            addCriterion("zdbm not like", value, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmIn(List<String> values) {
            addCriterion("zdbm in", values, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmNotIn(List<String> values) {
            addCriterion("zdbm not in", values, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmBetween(String value1, String value2) {
            addCriterion("zdbm between", value1, value2, "zdbm");
            return (Criteria) this;
        }

        public Criteria andZdbmNotBetween(String value1, String value2) {
            addCriterion("zdbm not between", value1, value2, "zdbm");
            return (Criteria) this;
        }

        public Criteria andSsbmIsNull() {
            addCriterion("ssbm is null");
            return (Criteria) this;
        }

        public Criteria andSsbmIsNotNull() {
            addCriterion("ssbm is not null");
            return (Criteria) this;
        }

        public Criteria andSsbmEqualTo(String value) {
            addCriterion("ssbm =", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmNotEqualTo(String value) {
            addCriterion("ssbm <>", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmGreaterThan(String value) {
            addCriterion("ssbm >", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmGreaterThanOrEqualTo(String value) {
            addCriterion("ssbm >=", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmLessThan(String value) {
            addCriterion("ssbm <", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmLessThanOrEqualTo(String value) {
            addCriterion("ssbm <=", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmLike(String value) {
            addCriterion("ssbm like", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmNotLike(String value) {
            addCriterion("ssbm not like", value, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmIn(List<String> values) {
            addCriterion("ssbm in", values, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmNotIn(List<String> values) {
            addCriterion("ssbm not in", values, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmBetween(String value1, String value2) {
            addCriterion("ssbm between", value1, value2, "ssbm");
            return (Criteria) this;
        }

        public Criteria andSsbmNotBetween(String value1, String value2) {
            addCriterion("ssbm not between", value1, value2, "ssbm");
            return (Criteria) this;
        }

        public Criteria andJyyIsNull() {
            addCriterion("jyy is null");
            return (Criteria) this;
        }

        public Criteria andJyyIsNotNull() {
            addCriterion("jyy is not null");
            return (Criteria) this;
        }

        public Criteria andJyyEqualTo(Byte value) {
            addCriterion("jyy =", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyNotEqualTo(Byte value) {
            addCriterion("jyy <>", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyGreaterThan(Byte value) {
            addCriterion("jyy >", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyGreaterThanOrEqualTo(Byte value) {
            addCriterion("jyy >=", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyLessThan(Byte value) {
            addCriterion("jyy <", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyLessThanOrEqualTo(Byte value) {
            addCriterion("jyy <=", value, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyIn(List<Byte> values) {
            addCriterion("jyy in", values, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyNotIn(List<Byte> values) {
            addCriterion("jyy not in", values, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyBetween(Byte value1, Byte value2) {
            addCriterion("jyy between", value1, value2, "jyy");
            return (Criteria) this;
        }

        public Criteria andJyyNotBetween(Byte value1, Byte value2) {
            addCriterion("jyy not between", value1, value2, "jyy");
            return (Criteria) this;
        }

        public Criteria andKnyIsNull() {
            addCriterion("kny is null");
            return (Criteria) this;
        }

        public Criteria andKnyIsNotNull() {
            addCriterion("kny is not null");
            return (Criteria) this;
        }

        public Criteria andKnyEqualTo(Byte value) {
            addCriterion("kny =", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyNotEqualTo(Byte value) {
            addCriterion("kny <>", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyGreaterThan(Byte value) {
            addCriterion("kny >", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyGreaterThanOrEqualTo(Byte value) {
            addCriterion("kny >=", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyLessThan(Byte value) {
            addCriterion("kny <", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyLessThanOrEqualTo(Byte value) {
            addCriterion("kny <=", value, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyIn(List<Byte> values) {
            addCriterion("kny in", values, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyNotIn(List<Byte> values) {
            addCriterion("kny not in", values, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyBetween(Byte value1, Byte value2) {
            addCriterion("kny between", value1, value2, "kny");
            return (Criteria) this;
        }

        public Criteria andKnyNotBetween(Byte value1, Byte value2) {
            addCriterion("kny not between", value1, value2, "kny");
            return (Criteria) this;
        }

        public Criteria andJtyIsNull() {
            addCriterion("jty is null");
            return (Criteria) this;
        }

        public Criteria andJtyIsNotNull() {
            addCriterion("jty is not null");
            return (Criteria) this;
        }

        public Criteria andJtyEqualTo(Byte value) {
            addCriterion("jty =", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyNotEqualTo(Byte value) {
            addCriterion("jty <>", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyGreaterThan(Byte value) {
            addCriterion("jty >", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyGreaterThanOrEqualTo(Byte value) {
            addCriterion("jty >=", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyLessThan(Byte value) {
            addCriterion("jty <", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyLessThanOrEqualTo(Byte value) {
            addCriterion("jty <=", value, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyIn(List<Byte> values) {
            addCriterion("jty in", values, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyNotIn(List<Byte> values) {
            addCriterion("jty not in", values, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyBetween(Byte value1, Byte value2) {
            addCriterion("jty between", value1, value2, "jty");
            return (Criteria) this;
        }

        public Criteria andJtyNotBetween(Byte value1, Byte value2) {
            addCriterion("jty not between", value1, value2, "jty");
            return (Criteria) this;
        }

        public Criteria andKxxbyIsNull() {
            addCriterion("kxxby is null");
            return (Criteria) this;
        }

        public Criteria andKxxbyIsNotNull() {
            addCriterion("kxxby is not null");
            return (Criteria) this;
        }

        public Criteria andKxxbyEqualTo(Byte value) {
            addCriterion("kxxby =", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyNotEqualTo(Byte value) {
            addCriterion("kxxby <>", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyGreaterThan(Byte value) {
            addCriterion("kxxby >", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyGreaterThanOrEqualTo(Byte value) {
            addCriterion("kxxby >=", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyLessThan(Byte value) {
            addCriterion("kxxby <", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyLessThanOrEqualTo(Byte value) {
            addCriterion("kxxby <=", value, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyIn(List<Byte> values) {
            addCriterion("kxxby in", values, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyNotIn(List<Byte> values) {
            addCriterion("kxxby not in", values, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyBetween(Byte value1, Byte value2) {
            addCriterion("kxxby between", value1, value2, "kxxby");
            return (Criteria) this;
        }

        public Criteria andKxxbyNotBetween(Byte value1, Byte value2) {
            addCriterion("kxxby not between", value1, value2, "kxxby");
            return (Criteria) this;
        }

        public Criteria andTzyIsNull() {
            addCriterion("tzy is null");
            return (Criteria) this;
        }

        public Criteria andTzyIsNotNull() {
            addCriterion("tzy is not null");
            return (Criteria) this;
        }

        public Criteria andTzyEqualTo(Byte value) {
            addCriterion("tzy =", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyNotEqualTo(Byte value) {
            addCriterion("tzy <>", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyGreaterThan(Byte value) {
            addCriterion("tzy >", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyGreaterThanOrEqualTo(Byte value) {
            addCriterion("tzy >=", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyLessThan(Byte value) {
            addCriterion("tzy <", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyLessThanOrEqualTo(Byte value) {
            addCriterion("tzy <=", value, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyIn(List<Byte> values) {
            addCriterion("tzy in", values, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyNotIn(List<Byte> values) {
            addCriterion("tzy not in", values, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyBetween(Byte value1, Byte value2) {
            addCriterion("tzy between", value1, value2, "tzy");
            return (Criteria) this;
        }

        public Criteria andTzyNotBetween(Byte value1, Byte value2) {
            addCriterion("tzy not between", value1, value2, "tzy");
            return (Criteria) this;
        }

        public Criteria andKxgjlyIsNull() {
            addCriterion("kxgjly is null");
            return (Criteria) this;
        }

        public Criteria andKxgjlyIsNotNull() {
            addCriterion("kxgjly is not null");
            return (Criteria) this;
        }

        public Criteria andKxgjlyEqualTo(Byte value) {
            addCriterion("kxgjly =", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyNotEqualTo(Byte value) {
            addCriterion("kxgjly <>", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyGreaterThan(Byte value) {
            addCriterion("kxgjly >", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyGreaterThanOrEqualTo(Byte value) {
            addCriterion("kxgjly >=", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyLessThan(Byte value) {
            addCriterion("kxgjly <", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyLessThanOrEqualTo(Byte value) {
            addCriterion("kxgjly <=", value, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyIn(List<Byte> values) {
            addCriterion("kxgjly in", values, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyNotIn(List<Byte> values) {
            addCriterion("kxgjly not in", values, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyBetween(Byte value1, Byte value2) {
            addCriterion("kxgjly between", value1, value2, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andKxgjlyNotBetween(Byte value1, Byte value2) {
            addCriterion("kxgjly not between", value1, value2, "kxgjly");
            return (Criteria) this;
        }

        public Criteria andZyzlIsNull() {
            addCriterion("zyzl is null");
            return (Criteria) this;
        }

        public Criteria andZyzlIsNotNull() {
            addCriterion("zyzl is not null");
            return (Criteria) this;
        }

        public Criteria andZyzlEqualTo(Byte value) {
            addCriterion("zyzl =", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlNotEqualTo(Byte value) {
            addCriterion("zyzl <>", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlGreaterThan(Byte value) {
            addCriterion("zyzl >", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlGreaterThanOrEqualTo(Byte value) {
            addCriterion("zyzl >=", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlLessThan(Byte value) {
            addCriterion("zyzl <", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlLessThanOrEqualTo(Byte value) {
            addCriterion("zyzl <=", value, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlIn(List<Byte> values) {
            addCriterion("zyzl in", values, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlNotIn(List<Byte> values) {
            addCriterion("zyzl not in", values, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlBetween(Byte value1, Byte value2) {
            addCriterion("zyzl between", value1, value2, "zyzl");
            return (Criteria) this;
        }

        public Criteria andZyzlNotBetween(Byte value1, Byte value2) {
            addCriterion("zyzl not between", value1, value2, "zyzl");
            return (Criteria) this;
        }

        public Criteria andOtherIsNull() {
            addCriterion("other is null");
            return (Criteria) this;
        }

        public Criteria andOtherIsNotNull() {
            addCriterion("other is not null");
            return (Criteria) this;
        }

        public Criteria andOtherEqualTo(String value) {
            addCriterion("other =", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotEqualTo(String value) {
            addCriterion("other <>", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThan(String value) {
            addCriterion("other >", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThanOrEqualTo(String value) {
            addCriterion("other >=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThan(String value) {
            addCriterion("other <", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThanOrEqualTo(String value) {
            addCriterion("other <=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLike(String value) {
            addCriterion("other like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotLike(String value) {
            addCriterion("other not like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherIn(List<String> values) {
            addCriterion("other in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotIn(List<String> values) {
            addCriterion("other not in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherBetween(String value1, String value2) {
            addCriterion("other between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotBetween(String value1, String value2) {
            addCriterion("other not between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Byte value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Byte value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Byte value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Byte value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Byte> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Byte> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Byte value1, Byte value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}